package kevin.framework.basic.service;

import kevin.framework.basic.service.IBaseService;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONArray;

import kevin.framework.basic.common.tree.IListToTree;
import kevin.framework.basic.common.ui.ClientButton;
import kevin.framework.basic.domain.Menu;
import kevin.framework.basic.domain.Org;

/**
*Generate by Kevin's CodeBuilder
**/
public interface IOrgService extends IBaseService<Org,String> , IListToTree<Org>{
	
	public JSONArray getOrgJsonByPid(String pid, List<ClientButton> buttonlist) throws Exception;

	public JSONArray getOrgJsonByPid(String pid, List<ClientButton> buttonlist, Map<String, Object> params) throws Exception;

	public JSONArray getOrgJsonByPid(String pid) throws Exception;

	public JSONArray getOrgJsonByPid(String pid, Map<String, Object> params) throws Exception;
}
